home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 06 - 1990 / 06.07 Jul 90 / Commando Programming ƒ / Rezscripts / CmdoReztAttr.R < prev    next >
Encoding:
Text File  |  1988-07-28  |  1.6 KB  |  64 lines  |  [TEXT/MPS ]

  1. /* File CmdoReztAttr.R */
  2. /* W. Powell, 1988 */
  3. /* Include File to generate nested dialog for Rez
  4.  *   resource attributes                                    */
  5.  
  6. /* This file is meant to be included in other Rez files
  7.  * as a complete nested dialog.
  8.  * See Also file CmdoRezID.R (assumes this is dialog 2)     */
  9.  
  10. /* Dialog 2 */
  11. /* Resource attribute stuff */
  12.     270,
  13.     "Select Attributes for the resource",
  14.     {
  15.     NotDependent {}, RadioButtons { {
  16.         {35,85,55,220},
  17.             "Application Heap",
  18.             "",Set,
  19.             "Load resource into application heap" ,
  20.         {35,260,55,400},
  21.             "System Heap",
  22.             "-sy",NotSet,
  23.             "Load resource into system heap instead"
  24.             " of application heap" }},
  25.     NotDependent {}, RadioButtons { {
  26.         {55,260,75,400},
  27.             "Purgeable",
  28.             "-pu",NotSet,
  29.             "Make the resource initially purgeable.",
  30.         {55,85,75,220},
  31.             "Not Purgeable","",NotSet,
  32.             "Make resource initially unpurgeable"
  33.         }},
  34.     NotDependent {}, RadioButtons { {
  35.         {75,85,95,220},
  36.             "Unlocked","",Set,
  37.             "Resource not initially locked in memory",
  38.         {75,260,95,400},
  39.             "Locked","-lo",NotSet,
  40.             "Lock resource in memory when loaded"
  41.         } },
  42.     NotDependent {}, RadioButtons { {
  43.         {95,85,115,220},
  44.             "Unprotected","",Set,
  45.             "Marked as changeable in resource file",
  46.         {95,260,115,400},
  47.             "Protected","-Pr",NotSet,
  48.             "Protect resource in file from changes"
  49.         } },
  50.     NotDependent {}, RadioButtons { {
  51.         {115,85,135,220},
  52.             "No Pre-Load","",Set,
  53.             "Require explicit command to load resource"
  54.             " into memory.",
  55.         {115,260,135,400},
  56.             "Pre-load","-PL",NotSet,
  57.             "Load resource when resource "
  58.             "fork is opened" }}
  59.     },
  60.     
  61. /* End of file CmdoAttributes.R */
  62.  
  63.  
  64.